package com.aspose.cells;

import java.util.ArrayList;

class zbck extends zbz {
   zbck() {
      this.c(29);
   }

   void a(zbci var1) {
      this.a((short)(9 + 6 * var1.b().size()));
      this.c = new byte[this.d()];
      this.c[0] = var1.a();
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.c()), 0, this.c, 1, 2);
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.d()), 0, this.c, 3, 2);
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.e()), 0, this.c, 5, 2);
      ArrayList var2 = var1.b();
      System.arraycopy(com.aspose.cells.b.a.zc.a(var2.size()), 0, this.c, 7, 2);
      int var3 = 9;

      for(int var4 = 0; var4 < var2.size(); ++var4) {
         CellArea var5 = (CellArea)var2.get(var4);
         System.arraycopy(com.aspose.cells.b.a.zc.a(var5.StartRow), 0, this.c, var3, 2);
         System.arraycopy(com.aspose.cells.b.a.zc.a(var5.EndRow), 0, this.c, var3 + 2, 2);
         this.c[var3 + 4] = (byte)var5.StartColumn;
         this.c[var3 + 5] = (byte)var5.EndColumn;
         var3 += 6;
      }

   }
}
